//
//  ChatBarVC.h
//  HXDemo
//
//  Created by 李亚军 on 16/11/21.
//  Copyright © 2016年 李亚军. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BoardTextView , BoardButton;
@interface ChatBarVC : UIViewController

/// 展示聊天工具栏
@property (nonatomic , copy) void(^showToolBarBlock)();

/// 隐藏聊天工具栏
@property (nonatomic , copy) void(^hiddenToolBarBlock)();

/// 键盘处于显示状态 参数:点击的按钮代码 0 : 语音 ; 1 : 表情 ; 2 : 工具
@property (nonatomic , copy) void(^hiddenKeyboardBlock)(NSString *clickType);

/// textView改变返回的字体高度
@property (nonatomic , copy) void(^textViewChangeBlock)(CGFloat);

/// 按住说话按钮
@property (weak, nonatomic) IBOutlet BoardButton *pressSpeaking;


/// 语音button
@property (weak, nonatomic) IBOutlet UIButton *voiceButton;

/// 工具 button
@property (weak, nonatomic) IBOutlet UIButton *toolButton;

/// 表情 button
@property (weak, nonatomic) IBOutlet UIButton *emotionButton;

/// textView
@property (weak, nonatomic) IBOutlet BoardTextView *textView;

/// 工具view 距离底部的距离
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *toolMarginToBottom;

/// 表情view 距离底部的距离
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *emotionMarginToBottom;

/// 聊天工具控制器 聊天 view 的高度(存放语音按钮,表情按钮,工具按钮的view)
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *chatBarChatViewHeight;







@end
